package com.rd.student.ruanjian.class1.duhang.New00;

public abstract class Animal {

    String name ;

    public void voice() {

    }

    public Animal(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void enjoy();
}
